//
//  LabelDefine.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/4/8.
//
import Foundation
import UIKit

let Font_Size_5:UIFont = getLabelFont(5)
let Font_Size_6:UIFont = getLabelFont(6)
let Font_Size_7:UIFont = getLabelFont(7)
let Font_Size_8:UIFont = getLabelFont(8)
let Font_Size_9:UIFont = getLabelFont(9)
let Font_Size_10:UIFont = getLabelFont(10)
let Font_Size_11:UIFont = getLabelFont(11)
let Font_Size_12:UIFont = getLabelFont(12)
let Font_Size_13:UIFont = getLabelFont(13)
let Font_Size_14:UIFont = getLabelFont(14)
let Font_Size_15:UIFont = getLabelFont(15)
let Font_Size_16:UIFont = getLabelFont(16)
let Font_Size_17:UIFont = getLabelFont(17)
let Font_Size_18:UIFont = getLabelFont(18)
let Font_Size_19:UIFont = getLabelFont(19)
let Font_Size_20:UIFont = getLabelFont(20)

func getLabelFont(_ size:Int,blod:Bool=false)->UIFont{
    return blod == true ? UIFont.boldSystemFont(ofSize: CGFloat(size)) : UIFont.systemFont(ofSize: CGFloat(size))
}
